﻿using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UnitTestProject1
{
    [TestClass]
    public  class TestBuffer
    {
        [TestMethod]
        public void Test()
        {
            string text = Guid.Empty.ToString();
            byte[] buffer = Encoding.UTF8.GetBytes(text);
            string hex = Convert.ToBase64String(buffer);
            Console.WriteLine(hex);
        }
    }
}
